package com.exam.mysql;

import com.exam.entity.ExUserSenicSpot;
import com.exam.entity.ExUserSenicSpotExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExUserSenicSpotDao {
    long countByExample(ExUserSenicSpotExample example);

    int deleteByExample(ExUserSenicSpotExample example);

    int deleteByPrimaryKey(Integer usid);

    int insert(ExUserSenicSpot record);

    int insertSelective(ExUserSenicSpot record);

    List<ExUserSenicSpot> selectByExample(ExUserSenicSpotExample example);

    ExUserSenicSpot selectByPrimaryKey(Integer usid);

    int updateByExampleSelective(@Param("record") ExUserSenicSpot record, @Param("example") ExUserSenicSpotExample example);

    int updateByExample(@Param("record") ExUserSenicSpot record, @Param("example") ExUserSenicSpotExample example);

    int updateByPrimaryKeySelective(ExUserSenicSpot record);

    int updateByPrimaryKey(ExUserSenicSpot record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table ex_user_senic_spot
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<ExUserSenicSpot> list);
}